package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.OperateRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author li.shiying
 * @since 2023-09-22
 */
@Mapper
@Repository
public interface OperateRecordMapper extends BaseMapper<OperateRecord> {

    String selectNameByCode(@Param("code") String code);

    String selectNameByItemId(@Param("itemIds")List<String> itemIds);
}
